package com.yylc.cscore.service;

import com.yylc.cscore.bean.CustomerBean;
import com.yylc.cscore.bean.base.PageBean;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @author xiangnan
 * date 2018/4/27
 */
public interface CustomerService {

    List<CustomerBean> getCustomerList();

    /**
     * ServiceIds: 以","分隔的id集合
     */
    List<CustomerBean> getCustomerList(String ServiceIds);

    PageBean<CustomerBean> getCustomerList(int current, int pageSize);

    int addCustomer(CustomerBean bean);

    int updateCustomer(CustomerBean bean, HttpSession session);

    int deleteCustomer(CustomerBean bean);

}
